package com.atguigu.eduservice.client.impl;

import com.atguigu.baseservice.result.R;
import com.atguigu.baseservice.result.ResultCodeEnum;
import com.atguigu.eduservice.client.OssClient;
import org.springframework.stereotype.Component;

@Component
public class OssClientHystrix implements OssClient {

    @Override
    public R testFeign(String id) {
        return R.error(ResultCodeEnum.SERVER_BUSY);
    }
}
